#include <iostream>

using namespace std;
int main() {
	int a[] = {1, 2, 3, 4};

	for (int *p = begin(a); p != end(a); p++) {
		*p = 0;
	}
	for (auto e : a) {
		cout << e << " ";
	}
}